package com.hbx.mapper;

import com.hbx.model.PkResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author hbx
 * @since 2022-01-29
 */
@Mapper
public interface PkResultMapper extends BaseMapper<PkResult> {
    /**
     * 修改支持数量
     * @param id
     * @param type
     * @return
     */
    Integer updateNiu(@Param("id") Integer id, @Param("type") Integer type);
}
